package com.medusa.aps.business.modules.demand.model.input;

import com.medusa.aps.business.model.pagination.BasePage;
import io.swagger.v3.oas.annotations.media.Schema;
import jakarta.validation.constraints.NotNull;
import lombok.Data;
import lombok.EqualsAndHashCode;

/**
 * 排程明细-工序明细参数接收
 *
 * @author miskw
 * @date 2024/1/9
 */
@Data
@EqualsAndHashCode(callSuper = true)
@Schema(description = "排程明细-工序明细参数接收")
public class ScheduleProcessDetailsParam extends BasePage {
    @NotNull(message = "订单号不能为空")
    @Schema(description = "订单号", requiredMode = Schema.RequiredMode.REQUIRED)
    private String orderNumber;
    @NotNull(message = "物料名称不能为空")
    @Schema(description = "物料名称", requiredMode = Schema.RequiredMode.REQUIRED)
    private String materialName;
    @NotNull(message = "物料编码不能为空")
    @Schema(description = "物料编码", requiredMode = Schema.RequiredMode.REQUIRED)
    private String materialCode;
    @Schema(description = "工序名称")
    private String processName;
    @Schema(description = "工序编码")
    private String processCode;
    @Schema(description = "设备名称")
    private String equipmentName;
    @Schema(description = "设备编码")
    private String equipmentCode;
    @Schema(description = "辅助资料名称")
    private String auxiliaryDataName;
    @Schema(description = "辅助资料编码")
    private String auxiliaryDataCoding;
    @Schema(description = "车间名称")
    private String workshopName;
}
